﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Hue_Demo_PCL.Models
{
    /// <summary>
    /// serializable object representing the raw JSON result 
    /// when querying a Hue light
    /// </summary>
    [DataContractAttribute]
    public class RawHueResult
    {
        public RawHueResult() { }

        #region LightState Property (HueLight)
        private LightState _state;
        [DataMember(Name = "state")]
        public LightState LightState
        {
            get { return _state; }
            set { _state = value; }
        }
        #endregion

        #region Type Property (string)
        private string _type;
        [DataMember(Name = "type")]
        public string Type
        {
            get { return _type; }
            set { _type = value; }
        }
        #endregion

        #region Name Property (string)
        private string _name;
        [DataMember(Name = "name")]
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }
        #endregion

        #region ModelID Property (string)
        private string _modelID;
        [DataMember(Name = "modelid")]
        public string ModelID
        {
            get { return _modelID; }
            set { _modelID = value; }
        }
        #endregion

        #region SWVersion Property (string)
        private string _swVersion;
        [DataMember(Name = "swversion")]
        public string SWVersion
        {
            get { return _swVersion; }
            set { _swVersion = value; }
        }
        #endregion
    }
}
